package com.itheima.string;

import java.util.Scanner;

public class Test04 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        //用户提示
        System.out.println("请输入你的电话号码");
        String tel = sc.next();



        String start = tel.substring(0,3);
        String end = tel.substring(tel.length()-4);
        System.out.println(start+"****"+end);
    }
}
